package cn.bupt.sse309.ydl.activity;

import cn.bupt.sse309.ydl.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class UserManualActivity extends Activity {

  private Button  backBtn;

  private TextView titleTv;

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    this.requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
    this.setContentView(R.layout.activity_user_manual);
    this.getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.base_title_with_back);
    this.initView();
  }

  /**
   *
   */
  public void initView() {
    // TODO Auto-generated method stub
    this.titleTv = (TextView) this.findViewById(R.id.baseTitleId);
    this.backBtn=(Button) this.findViewById(R.id.baseBack);
    this.titleTv.setText(R.string.title_user_manual);
    this.backBtn.setOnClickListener(new OnClickListener() {

      @Override
      public void onClick(View v) {
        // TODO Auto-generated method stub
        UserManualActivity.this.finish();
      }
    });

  }
}
